package ooday02.homework.PersonCase;

public class Test {
    public static void main(String[] args) {
        Student student = new Student("陈琳", 16, "北京", "R601", "S101");
        student.eat();
        student.sleep();
        student.sayHi();
        student.study();

        Teacher teacher = new Teacher("李铭", 25, "南京", 8888.66);
        teacher.eat();
        teacher.sleep();
        teacher.sayHi();
        teacher.teach();

        Doctor doctor = new Doctor("张晨", 45, "天津", "主治医生");
        doctor.eat();
        doctor.sleep();
        doctor.sayHi();
        doctor.cut();


    }


}
